package com.xszx.service.impl;

import com.xszx.entity.Teacher;
import com.xszx.service.TeacherFunction;

public class TeacherFunctionImpl implements TeacherFunction{

	@Override
	public void playNationalAnthem(Teacher teacher) {
		System.out.println();
		System.out.println(teacher.getName()+"播放了义勇军进行曲");
	}

	@Override
	public void releaseAddress(Teacher teacher) {
		System.out.println();
		System.out.println(teacher.getName()+"欢迎同学们参加校运会开幕式");
	}

	@Override
	public void sayHello() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void summary(Teacher teacher) {
		System.out.println();
		System.out.println(teacher.getName()+"宣布校运会正式开始");
	}

	@Override
	public void admission(Teacher[] teacher) {
		System.out.println();
		System.out.println("裁判员开始入场");
		for(Teacher t:teacher){
			System.out.print("\t"+t.getName());
		}
		System.out.println();
	}
	
	
}
